﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Web;

using $safeprojectname$.Storage;

namespace $safeprojectname$.Storage
{
    /// <summary>
    ///     Default Session provider - httpcontext.session 
    /// </summary>
    public class DefaultSessionStorageProvider : ISessionStorageProvider
    {
        public virtual ISessionStorage GetSessionStorage(HttpContextBase context)
        {
            return new SessionStorage(context);
        }
        public virtual ISessionStorage GetSessionStorage(HttpContext context)
        {
            return new SessionStorage(context);
        }
        public virtual ISessionStorage GetSessionStorage()
        {
            return new SessionStorage();
        }

        public virtual void Shutdown() { }
    }
}